ui:obj/glut_window.o obj/effect_ctrl.o obj/refraction_effect_ctrl.o \
	obj/fresnel_effect_ctrl.o obj/reflection_effect_ctrl.o \
  obj/logic_window.o

INC=..

obj/glut_window.o:glut_window.cc glut_window.h logic_window.h
	g++ -c -I$(INC) glut_window.cc
	mv glut_window.o obj/

obj/effect_ctrl.o:controllers/effect_ctrl.h controllers/effect_ctrl.cc
	g++ -c -I$(INC) controllers/effect_ctrl.cc 
	mv effect_ctrl.o obj/

obj/refraction_effect_ctrl.o:controllers/refraction_effect_ctrl.h \
	controllers/refraction_effect_ctrl.cc
	g++ -c -I$(INC) controllers/refraction_effect_ctrl.cc 
	mv refraction_effect_ctrl.o obj/

obj/reflection_effect_ctrl.o:controllers/reflection_effect_ctrl.h \
	controllers/reflection_effect_ctrl.cc
	g++ -c -I$(INC) controllers/reflection_effect_ctrl.cc 
	mv reflection_effect_ctrl.o obj/

obj/fresnel_effect_ctrl.o:controllers/fresnel_effect_ctrl.h \
	controllers/fresnel_effect_ctrl.cc
	g++ -c -I$(INC) controllers/fresnel_effect_ctrl.cc 
	mv fresnel_effect_ctrl.o obj/

obj/logic_window.o:logic_window.cc logic_window.h logic_window.h
	g++ -c -I$(INC) logic_window.cc
	mv logic_window.o obj/

clean:
	rm -f obj/*.o
